package com.jokerpan.project.mapper;

import com.jokerpan.project.entity.Chat;
import org.apache.ibatis.annotations.Mapper;

import java.util.LinkedHashMap;
import java.util.List;

/**
 * @author jokerpan
 */
@Mapper
public interface ChatMapper {

    List<LinkedHashMap<String, Object>> queryChat(Chat chat);

    int add(Chat chat);

    int deleteById(Integer id);

}
